package router

import (
	"github.com/gin-gonic/gin"
	"project-im/config"
	"project-im/internal/api/friend"
	"project-im/tools"
)

func GroupRouter(router *gin.RouterGroup) {
	groupModel := router.Group("group").Use(tools.JWTAuth(config.AppConfig.Key))
	{
		groupModel.GET("list", friend.FriendList)
		//groupModel.POST("add", friend.FriendAdd)
	}
}
